<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<form method="post" action="grabarIdea.html">
		<% String nombre = request.getAttribute("nombre").toString(); %>
		<input type="hidden" name="hdidea" value="${id}"/>
		<input type="hidden" name="hdnombre" value="<%out.print(nombre);%>"/>
		<% if(request.getAttribute("error")!=null){
				String Error = request.getAttribute("error").toString();
				out.print(Error);
			}%>
		
		<table>
			<tr>
				<td>Idea</td>
				<td></td>
			</tr>
			<tr>
				<td>Nombre</td>
				<td><%out.print(nombre);%></td>
			</tr>
			<tr>
				<td colspan="2">Estado</td>
			</tr>
			<tr>
				<td colspan="2">
					<input type="radio" name="rdestado" value="b"/> Discusion
					<input type="radio" name="rdestado" value="c"/> Votacion
				</td>
			</tr>
		</table>
		<input type="submit" value="Grabar"/>
	</form>1
</body>
</html>